package com.tedu.demo1;

import org.springframework.stereotype.Component;

import java.util.zip.DeflaterOutputStream;

@Component//被该注解标注的类才会被Spring管理
public class User {
    public void sayHello(){
        System.out.println("hello");
    }
}
